package com.example.websocket.service;

import com.example.websocket.pojo.dto.MessageDto;
import com.example.websocket.pojo.dto.UserListDto;

import java.util.List;

/**
 * @ author 韩
 * time: 2024/3/13 20:39
 */

public interface MessageService {
    List<UserListDto> getMessageList(String username);

    Boolean addMessage(MessageDto dto);

    List<UserListDto> searchMessage(String username, String key);
}
